package com.internship.dao;



import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.Weeknote;
import com.internship.page.Pagination;

public interface WeeknoteDao {
	
	public Weeknote getWeeknoteById(int Id);
	public List<Weeknote>  getWeeknoteList(@Param("DeptCode") String DeptCode ,@Param("StudentName") String StudentName,@Param("TeacherNumber") String TeacherNumber,Pagination page);
	public List<Weeknote>  getMyWeeknoteList(@Param("JobStudentNumber") String JobStudentNumber ,Pagination page);
	public List<Weeknote>  getWeeknoteReportList(@Param("JobStudentNumber") String JobStudentNumber );
	public List<Weeknote>  getWeeknoteList();
	public int getWeeknotePractice(@Param("DeptCode") String DeptCode,@Param("grade") int grade);
	public int getWeeknoteCount(@Param("DeptCode") String DeptCode,@Param("grade") int grade);
	public int getWeeknoteUncheckNotes(@Param("DeptCode") String DeptCode,@Param("grade") int grade);
	public int addWeeknote(Weeknote weeknote);
	public int updateWeeknote(Weeknote weeknote);
	public int 	markingWeeknote(Weeknote weeknote);

	public int delWeeknote(@Param("Id") int Id);
	public int delAll(String[] ids);

}
